// module.exports = function(mainApp) {
/**
 * [高度撑满屏幕]
 */
var mainApp = angular.module("mainApp");
mainApp.directive("maxHeight", [function() {
    return {
        restrict: "A",
        link: function(scope, element, attr) {
            var height = document.documentElement.clientHeight - 40;
            $(element).css({ "minHeight": height });
        }
    }
}]);